package com.itheima02;

public class ThreadSleepDemo {
    public static void main(String[] args) {
        ThreadSleep t1 = new ThreadSleep();
        ThreadSleep t2 = new ThreadSleep();
        ThreadSleep t3 = new ThreadSleep();

        t1.setName("高铁");
        t2.setName("飞机");
        t3.setName("汽车");

        t1.start();
        t2.start();
        t3.start();
    }
}
